package com.spring1.lx3.diy;

import com.spring1.lx3.service.UserSerice;
import com.spring1.lx3.service.UserSericeImpl;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class User {
    @Bean
    public UserSerice getUserSevice(){
        return new UserSericeImpl();
    }
}
